package com.xgh.design.factory;

/**
 * @ClassName Test
 * @Description
 * @Author xinggh
 * @Date 2020/8/6 19:36
 * @Version 1.0
 **/
public class Test {

    public static void main(String[] args) {
        ShapeFactory shapeFactory = new ShapeFactory();
        Shape square = shapeFactory.getShape("Square");
        square.draw();

    }
}
